﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UFSSMaster.Master" AutoEventWireup="true" CodeBehind="mysubs.aspx.cs" Inherits="UFSSWebApp.mysubs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageName" runat="server">
Subscriptions / Manage
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Body" runat="server">
    <div class="Box" style="width:520px"> 
        <span class="subheading">My Subscriptions</span><hr /> 
        <table>
            <tbody>
                <tr>
                    <td class="style3">
                        <asp:ListBox ID="lstSubs" runat="server" Height="194px" Width="145px" 
                            onselectedindexchanged="ListBox1_SelectedIndexChanged" AutoPostBack="True" 
                            BackColor="#F0F4FF"></asp:ListBox></td>
                    <td align="left" valign="top" class="style6">
                        <table>
                            <tbody>
                                <tr>
                                    <td><b>Files: </b></td>
                                    <td></td>
                                    <td><asp:Label ID="lblFiles" runat="server" Text=""></asp:Label></td>
                                </tr>
                                <tr><td></td></tr>
                                <tr>
                                    <td><b>Subscribers: </b></td>
                                    <td></td>
                                    <td><asp:Label ID="lblSubs" runat="server" Text=""></asp:Label></td>
                                </tr>
                                <tr><td></td></tr>
                                <tr>
                                    <td><b>Latest File: </b></td>
                                    <td></td>
                                    <td>
                                        <asp:Label ID="lblLatfile" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr><td></td></tr>
                                <tr>
                                    <td><b>Last Updated: </b></td>
                                    <td></td>
                                    <td><asp:Label ID="lblLastUp" runat="server" Text=""></asp:Label></td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="style5"></td>
                    <td class="style6"><asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label></td>
                </tr>
                <tr>
                    <td class="style5">
                        <asp:Button ID="btnDelSub" runat="server" 
                            Text="Delete Subscription" Width="143px" onclick="btnDelSub_Click" /></td>
                </tr>
                <tr>
                    <td><asp:Button ID="btnViewSub" runat="server" Text="View Subscription" 
                            onclick="btnViewSub_Click" Width="143px" /></td>
                </tr>
            </tbody>
        </table>
        <br />
        <span class="subheading">Subscribed To</span><hr /> 
        <table>
            <tbody>
                <tr>
                    <td class="style3">
                        <asp:ListBox ID="lstSubbedTo" runat="server" Height="194px" Width="145px" 
                            AutoPostBack="True" BackColor="#F0F4FF" 
                            onselectedindexchanged="lstSubbedTo_SelectedIndexChanged"></asp:ListBox></td>
                    <td align="left" valign="top" class="style6">
                        <table>
                            <tbody>
                                <tr>
                                    <td><b>Files: </b></td>
                                    <td></td>
                                    <td><asp:Label ID="lblFiles2" runat="server"></asp:Label></td>
                                </tr>
                                <tr><td></td></tr>
                                <tr>
                                    <td><b>Subscribers: </b></td>
                                    <td></td>
                                    <td><asp:Label ID="lblSubs2" runat="server"></asp:Label></td>
                                </tr>
                                <tr><td></td></tr>
                                <tr>
                                    <td><b>Latest File: </b></td>
                                    <td></td>
                                    <td>
                                        <asp:Label ID="lblLatFile2" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr><td></td></tr>
                                <tr>
                                    <td><b>Last Updated: </b></td>
                                    <td></td>
                                    <td><asp:Label ID="lblLastUp2" runat="server"></asp:Label></td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="style5"></td>
                    <td class="style6"><asp:Label ID="lblError2" runat="server" ForeColor="Red"></asp:Label></td>
                </tr>
                <tr>
                    <td class="style5">
                        <asp:Button ID="btnLeaveSub" runat="server" 
                            Text="Leave Subscription" Width="143px" onclick="btnLeaveSub_Click" /></td>
                </tr>
                <tr>
                    <td><asp:Button ID="btnViewSub2" runat="server" Text="View Subscription" 
                            onclick="btnViewSub_Click" Width="143px" /></td>
                </tr>
            </tbody>
        </table>
    </div> 
</asp:Content>
